FROM golang:latest

ENV GOPATH /go
ENV PATH ${GOPATH}/bin:$PATH
ADD ./src $GOPATH/src/

RUN go build hello

EXPOSE 8080

ENTRYPOINT ["./hello"]